package com.maxh.service;

import com.maxh.pojo.Course;

import java.util.List;
import java.util.Map;

public interface CourseService {

    //获取课程信息
    List<Map<String,Object>> courseList();

    Boolean addCourseList(Course course);

    List findCourse(Map<String, Object> map);

    Boolean deleteContent(String id);

    Boolean updateCourseList(Course course);

    Boolean updateCourseStatus(Course course);
    //获取所有上架课程信息
    List<Map<String,Object>> curriculumList();

    List searchCurriculum(Map<String, Object> map);

    List findTeacherCourse(String teacherId);

    List<Map<String,Object>> courseListByTime();
}
